<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!--底部  结束 -->
<script type="text/javascript">
	/**自由切换加上样式*   class="word" ***/
	 $(document).ready(function () {
		$('footer.selected a').each(function() {
			var url = $($(this))[0].href;
           	var style = $(this).find('p').attr('class');
           	if(style!='word') {
           		if ($(this)[0].href == String(window.location))
               		$(this).find('p').prop("class","word");
           	}
		});
	}); 
</script>
<!--底部  开始-->
	<footer class="clearfix selected">
		<a href="${ctx}/" class="fl">
			<img src="${ctx}/image/d11.png" alt="" />
			<p>首页</p>
		</a>
		<a href="${ctx}/goodsClass/initGoodsClass" class="fl">
			<img src="${ctx}/image/d2.png" alt="" />
			<p>商城</p>
		</a>
	 	<a href="${ctx}/cart/getCart" class="fl">
			<img src="${ctx}/image/d3.png" alt="" />
			<p>购物车</p>
		</a>
		<a href="${ctx}/personal/initPersonal" class="fl"> 
			<img src="${ctx}/image/d4.png" alt="" />
			<p>我的</p>
		</a>
	</footer>
